<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title></title>
		<script type="text/javascript">
//			创建时间对象
//			var time = new Date();
			
//			传参
			//字符串传参
//			var time = new Date('2017/6/6 23:00:00');

			//数值传参
			var time = new Date(2016,8,8,12,30,00);
			document.write(time);
		</script>
	</head>
	<body>

	</body>
</html>
